package com.hawk.parse;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author hawk
 * @date 2022/1/11 16:19
 * @desc 日志自定义变量
 **/
public class LogContext {
    private final Map<String, Object> variables = new ConcurrentHashMap<>(64);

    public Map<String, Object> getVariables() {
        return variables;
    }

    public void setVariable(String name, Object value) {
        this.variables.put(name, value);
    }
}
